// 代码高亮微调
.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string{
  background: transparent;
}

.line-numbers {
  padding: 10px 0 10px 40px !important;
  border-radius: 5px !important;
  position: relative;
  font-size: 14px !important;
  line-height: 22px !important;
  overflow: hidden !important;
  &:hover .copy-btn {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  code {
    display: block !important;
    padding: 0 10px !important;
    overflow-x: auto !important;
  }

  // 行号
  .line-numbers-rows {
    position: absolute;
    pointer-events: none;
    top: 10px;
    bottom: 10px;
    left: 0;
    font-size: 100%;
    width: 40px;
    text-align: center;
    letter-spacing: -1px;
    // border-right: 1px solid rgba(0, 0, 0, 0.66);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    user-select: none;
    counter-reset: linenumber;
    span {
      pointer-events: none;
      display: block;
      counter-increment: linenumber;
      &:before {
        content: counter(linenumber);
        // color: #999;
        color: #c1c1c1;
        display: block;
        text-align: center;
      }
    }
  }
  b.name {
    position: absolute;
    top: 6px;
    right: 45px;
    z-index: 1;
    color: #aaa;
    font-size: 12px;
    pointer-events: none;
  }
  .copy-btn {
    cursor: pointer;
    animation: 1s appear;
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 1;
    // color: #ccc;
    color: #aaa;
    border-radius: 2px;
    display: none;
    line-height: 12px;
    padding: 5px;
    transform:scale(0.8);
    font-size: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);

    @keyframes appear {
      0% {
        opacity: 0;
      }
    }
  }
}